package com.qf.controller;

import com.qf.service.UserBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.03.23
 * @since 1.0
 */
@RestController
@RequestMapping("/userB")
public class UserBController {

    @Autowired
    UserBService userBService;

    @RequestMapping("/addB")
    public String addUser(){
        String str = String.valueOf(userBService.addB());
        return str;
    }
}

